package com.zkjl.protect_business.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zkjl.protect_business.entity.Permission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;

import java.util.List;

@Data
@ApiModel(description = "用户实体")
public class UserDTO {

    @ApiModelProperty(notes = "用户名")
    private String userName;

    @ApiModelProperty(notes = "真实姓名")
    private String realName;

    @ApiModelProperty(notes = "密码")
    private String passWord;

    @ApiModelProperty(notes = "单位id")
    private String orgId;

    @ApiModelProperty(notes = "是否启用")
    private Boolean ifEnable;

    @ApiModelProperty(notes = "权限ids")
    private List<String> permissionIds;

}
